



	var public = {


index_souye:function(){
	
var zico = document.getElementById("zico");
var wxqr = document.getElementById("wxqr");
var wx = document.getElementById("wx");
var entrymore = document.getElementById("entrymore");
var pls = document.getElementById("pls");
var plsp = document.getElementById("plsp");
	$("#tjan").click(function(){

alert('提交评论成功！');
		});	


$("#tjan").mouseover(function(){


document.getElementById("tjan").style.cssText="background-color:rgba(61,61,61,0.9);";
document.getElementById("bttj").style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#tjan").mouseout(function(){
document.getElementById("tjan").style.cssText="background-color:rgba(255,255,255,0.9);";
document.getElementById("bttj").style.cssText="color:rgba(61,61,61,0.9);";


		});	
$("#next").mouseover(function(){


document.getElementById("next").style.cssText="background-color:rgba(61,61,61,0.9);";
document.getElementById("nextpage").style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#next").mouseout(function(){
document.getElementById("next").style.cssText="background-color:rgba(255,255,255,0.9);";
document.getElementById("nextpage").style.cssText="color:rgba(61,61,61,0.9);";


		});	



$("#huifu").mouseover(function(){


document.getElementById("huifu").style.cssText="background-color:rgba(50,50,50,0.9);";
document.getElementById("hfwz").style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#huifu").mouseout(function(){
document.getElementById("huifu").style.cssText="background-color:rgba(255,255,255,0.9);";
document.getElementById("hfwz").style.cssText="color:rgba(100,100,100,0.9);";


		});	
		$("#huifu1").mouseover(function(){


document.getElementById("huifu1").style.cssText="background-color:rgba(50,50,50,0.9);";
document.getElementById("hfwz1").style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#huifu1").mouseout(function(){
document.getElementById("huifu1").style.cssText="background-color:rgba(255,255,255,0.9);";
document.getElementById("hfwz1").style.cssText="color:rgba(100,100,100,0.9);";


		});	
	$("#huifu2").mouseover(function(){


document.getElementById("huifu2").style.cssText="background-color:rgba(50,50,50,0.9);";
document.getElementById("hfwz2").style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#huifu2").mouseout(function(){
document.getElementById("huifu2").style.cssText="background-color:rgba(255,255,255,0.9);";
document.getElementById("hfwz2").style.cssText="color:rgba(100,100,100,0.9);";


		});	
	$("#huifu3").mouseover(function(){


document.getElementById("huifu3").style.cssText="background-color:rgba(50,50,50,0.9);";
document.getElementById("hfwz3").style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#huifu3").mouseout(function(){
document.getElementById("huifu3").style.cssText="background-color:rgba(255,255,255,0.9);";
document.getElementById("hfwz3").style.cssText="color:rgba(100,100,100,0.9);";


		});	
	$("#huifu4").mouseover(function(){


document.getElementById("huifu4").style.cssText="background-color:rgba(50,50,50,0.9);";
document.getElementById("hfwz4").style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#huifu4").mouseout(function(){
document.getElementById("huifu4").style.cssText="background-color:rgba(255,255,255,0.9);";
document.getElementById("hfwz4").style.cssText="color:rgba(100,100,100,0.9);";


		});	
	$("#huifu5").mouseover(function(){


document.getElementById("huifu5").style.cssText="background-color:rgba(50,50,50,0.9);";
document.getElementById("hfwz5").style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#huifu5").mouseout(function(){
document.getElementById("huifu5").style.cssText="background-color:rgba(255,255,255,0.9);";
document.getElementById("hfwz5").style.cssText="color:rgba(100,100,100,0.9);";


		});	



$("#pls").mouseover(function(){
pls.style.cssText="background-color:rgba(0,0,0,0.9);";
plsp.style.cssText="color:rgba(255,255,255,0.9);";
		});	

$("#pls").mouseout(function(){
pls.style.cssText="background-color:rgba(255,255,255,0.9);";
plsp.style.cssText="color:rgba(0,0,0,0.9);";


		});	



$("#entrymore").mouseover(function(){


entrymore.style.cssText="background-color:rgba(89,89,89,0.9);";
		});	

$("#entrymore").mouseout(function(){


entrymore.style.cssText="background-color:rgba(0,0,0,0.9);";
		});	
		$("#entrymore").click(function(){


alert('点击了阅读更多');
		});	

	$("#zico").mouseover(function(){

			zico.src='images/zhove.png';		
zico.style.cssText='cursor:pointer';
		});	
			$("#zico").mouseout(function(){

			zico.src='images/zlink.png';		
zico.style.cssText='cursor:default';
		});	
		$("#zico").click(function(){

alert('感谢您的点赞！');
		});	




			$("#wz").mouseover(function(){

wxqr.style.cssText='display: block;';
		});	
			$("#wz").mouseout(function(){

wxqr.style.cssText='display: none;';
		});	
		$("#wz").click(function(){

alert('感谢您的关注！');
		});	

}


}








function getElementsClass(classnames){ 
var classobj= new Array();//定义数组 

var classint=0;//定义数组的下标 

var tags=document.getElementsByTagName("*");//获取HTML的所有标签 

for(var i in tags){//对标签进行遍历 

if(tags[i].nodeType==1){//判断节点类型 

if(tags[i].getAttribute("class") == classnames)//判断和需要CLASS名字相同的，并组成一个数组 

{ 

classobj[classint]=tags[i]; 

classint++; 

} 

} 

} 

return classobj;//返回组成的数组 

} 
